// 路由配置
import {
  Login
} from "../pages"
// 多个页面 路由地址
import baseRouters  from "./base"

export type RouterType = {
  path: string,
  component: React.LazyExoticComponent<any>,
  root: string[],
  notExect?: Boolean 
}

const LoginRouter: RouterType = {
  path: "/login",
  component: Login,
  root:[]
}

// 总路由
const Routers: RouterType[] = ([
  LoginRouter,
  ...baseRouters
])

export {
  Routers
}